package com.sangeng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sangeng.domain.entity.user.UserRole;

public interface IUserRoleService extends IService<UserRole> {
    //添加用户与角色的关系
    void add(Long id, Long roleId);
    //根据用户id查询角色id
    Long getRoleIdByUserId(Long userId);
}
